﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.Coolzon.Event.Core
{
    /// <summary>
    /// 组件的交互事件
    /// PartName:组件的名称
    /// Data:事件具体的数据，通过序列化为二进制的数据
    /// </summary>
    public class CorePartEvent : CoreEvent
    {
        ///// <summary>
        ///// 场景名称
        ///// </summary>
        //public string SceneName { get; set; }

        /// <summary>
        /// 组件名称
        /// </summary>
        public string PartName { get; set; }

        public string ClientID { get; set; }

        public string EventName { get; set; }

        /// <summary>
        /// 事件数据
        /// </summary>
        public byte[] Data { get; set; }
    }
}
